#ifndef __KEY_H
#define __KEY_H

#include "stm32f1xx_hal.h"
#define KEY_PORT        GPIOB
#define KEY_PIN         GPIO_PIN_5
#define IO_READ()       HAL_GPIO_ReadPin(KEY_PORT,KEY_PIN)

uint8_t Key_Scan(void);

#endif
